﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ERPStore.Chat.Models
{
	[Serializable]
	public class ChatUser
	{
		public string ConnectionId { get; set; }
		public string Id { get; set; }
		public string Name { get; set; }
		public string Hash { get; set; }

		public ChatUser()
		{
		}

		public ChatUser(string name, string hash)
		{
			Name = name;
			Hash = hash;
			Id = Guid.NewGuid().ToString("d");
		}
	}
}
